package com.imooc.course.server.dao;

import com.imooc.course.server.entity.ShortMessagingService;
import com.imooc.course.server.entity.ShortMessagingServiceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("shortMessagingServiceDao")
public interface ShortMessagingServiceDao {
    long countByExample(ShortMessagingServiceExample example);

    int deleteByExample(ShortMessagingServiceExample example);

    int deleteByPrimaryKey(String id);

    int insert(ShortMessagingService record);

    int insertSelective(ShortMessagingService record);

    List<ShortMessagingService> selectByExample(ShortMessagingServiceExample example);

    ShortMessagingService selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ShortMessagingService record, @Param("example") ShortMessagingServiceExample example);

    int updateByExample(@Param("record") ShortMessagingService record, @Param("example") ShortMessagingServiceExample example);

    int updateByPrimaryKeySelective(ShortMessagingService record);

    int updateByPrimaryKey(ShortMessagingService record);
}